package src.com.atguigu03.main;

/**
 * ClassName: MainTest
 * Package: src.com.atguigu03.main
 * Description:
 *
 * @Author BuTang
 * @Create 2023/3/9 21:34
 * @Version 1.0
 */
public class MainTest {
    //程序的入口
    public static void main(String[] args) throws Exception {
        String[] arr = new String[]{"aa","bb ","cc"};
        Test.main(arr);
    }

}
class Test{
    public static void main(String[] args) {
        System.out.println("Mainde main()调用");
        for (int i = 0; i < args.length; i++) {
            System.out.println(args[i]);
        }
    }
}
